﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace LenderClearingHouse
{
  public partial class ListFilterControl : System.Web.UI.UserControl
  {
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    public string Apn
    {
      get { return tbApn.Text; }
    }

    public string Address
    {
      get { return tbAddress.Text; }
    }

    public string Zip
    {
      get { return tbZip.Text; }
    }

    public bool HasFilter
    {
      get { return Apn != "" || Address != "" || Zip != ""; }
    }

    public void ClearFilter()
    {
        return;
      tbApn.Text = "";
      tbAddress.Text = "";
      tbZip.Text = "";
    }

    public ImageButton SearchButton { get { return btnSearchButton; } }

    protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
    {

    }
  }
}